package com.itheima.service.imp;

import com.alibaba.dubbo.config.annotation.Service;
import com.itheima.dao.OrderDao;
import com.itheima.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Map;

@Service
public class OrderServiceImp implements OrderService {
    @Autowired
    private OrderDao orderDao;
    @Override
    public Map findById(int id) throws Exception {
        Map orderMap = orderDao.findById(id);

        return orderMap;
    }
}
